Keysight VISA.NET Help
BeginRead(Byte[],Int64,Int64,Object) Method



An array of bytes allocated by the calling program.
The index in buffer to begin storing bytes
The maximum number of bytes to read.
Information about the state of this particular asynchronous operation that is attached to the Async Results.
Read bytes asynchronously and store a maximum of count elements into buffer starting at index.
Syntax
'Declaration
 
Overloads Function BeginRead( _
   ByVal buffer() As Byte, _
   ByVal index As Long, _
   ByVal count As Long, _
   ByVal state As Object _
) As IVisaAsyncResult
'Usage
 
Dim instance As IMessageBasedRawIO
Dim buffer() As Byte
Dim index As Long
Dim count As Long
Dim state As Object
Dim value As IVisaAsyncResult
 
value = instance.BeginRead(buffer, index, count, state)

Parameters

buffer
An array of bytes allocated by the calling program.
index
The index in buffer to begin storing bytes
count
The maximum number of bytes to read.
state
Information about the state of this particular asynchronous operation that is attached to the Async Results.

Return Value

Information about the progress and results of the asynchronous operation that is specific to, and identifies, that particular operation.
Requirements

Current with Keysight IO Libraries Suite 18

See Also

 

 


© Keysight Technologies 2015-2025